package com.hcr.entity;

public class Car {
    private String type;
    private Integer monery;


    public Car() {
    }

    public Car(String type, Integer monery) {
        this.type = type;
        this.monery = monery;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getMonery() {
        return monery;
    }

    public void setMonery(Integer monery) {
        this.monery = monery;
    }

    @Override
    public String toString() {
        return "Car{" +
                "type='" + type + '\'' +
                ", monery=" + monery +
                '}';
    }
}
